package com.qitianyong.sgkusbcamera;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import daemon.Daemon;


public class DaemonService extends Service {
    public DaemonService() {
    }

    @Override
    public IBinder onBind(Intent intent) {
        return  null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Daemon.install(this, DaemonService.class, 5000);
        System.out.println("force stop onCreate");
    }

    @Override
    public void onDestroy() {
        System.out.println("force stop onDestroy");
        super.onDestroy();
    }
}
